home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
BUSINESS
/
FRNTOFF2.LZH
/
UPDATE.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-01-02
|
4KB
|
121 lines
ECHO OFF
CLS
IF "%1==" GOTO nodir
ECHO THE FRONT OFFICE - Update - Version 6.1 - 11/01/90
ECHO ...
ECHO DO YOU HAVE A CURRENT BACKUP? If not, be sure to back up the
ECHO your entire TFO system using 'BACKUP *.* A:' from the TFO prompt.
ECHO Or at least do a files backup with 'BACKUP C:\TFO\TFOFILES\*.*.
ECHO BETTER SAFE THAN SORRY!
ECHO ...
ECHO The distribution diskette should be in your A: or B: drive, and from your
ECHO Front Office hard disk directory enter 'tfo (drive)', where (drive) is
ECHO the drive letter (A: or B:) where your diskette is located. For example,
ECHO assuming the diskette is in A:, type from your Front Office HARD DISK PROMPT:
ECHO tfo a:
ECHO NOTE: Please be sure to type the colon ...
ECHO ...
ECHO Enter `Ctrl C' to exit....or...
PAUSE
IF EXIST %1disk1 GOTO onedisk
:DISK1
IF NOT EXIST %1go.bat GOTO error1
CLS
ECHO THE FRONT OFFICE - Update continued... Disk 1
ECHO ...
ECHO Copying files from ... %1
COPY %1*.exe /v
COPY %1*.bat /v
ECHO ...
ECHO Remove the distribution diskette 1 from drive A: and,
ECHO Insert distribution diskette 2 in drive A:...
ECHO
PAUSE
:DISK2
IF NOT EXIST %1iamname.dbf GOTO error2
CLS
ECHO THE FRONT OFFICE - Update continued... Disk 2
ECHO ...
ECHO Copying files from ... %1
COPY %1*.bat /v
COPY %1*.exe %1 /v
ECHO ...
GOTO harddisk
:ONEDISK
CLS
ECHO The Front Office - Update, continued...
ECHO -----------------------
ECHO SINGLE DISKETTE VERSION
ECHO -----------------------
ECHO You have received The Front Office on one diskette.
ECHO ...
ECHO Copying files from ... %1
COPY %1*.bat /v
COPY %1*.exe /v
:HARDDISK
CLS
ECHO The Front Office - Update, continued....
ECHO ...
ECHO Special update database files will now be copied. When completed
ECHO this update will extract the file called IAMMAN.EXE from its
ECHO archive. This may take one or two minutes...please be patient!
ECHO ...
pause
COPY %1*.udb *.dbf
COPY %1*.udt *.dbt
ECHO ...
tfoblink
CLS
ECHO The Front Office - Update, continued....
ECHO ...
ECHO On the next screen that appears please do the following:
ECHO ...
ECHO A. You will be given a special Utility Menu screen. Select 'U'-Update.
ECHO B. Files will be upgraded, and when finished touch [Esc] to exit the
ECHO Utility Menu, and type TFO [Enter] to begin The Front Office.
ECHO ...
ECHO Thank you for using The Front Office
ECHO ════════════════════════════════
ECHO I a m - The NOW company that CARES
ECHO ...
pause
GOTO final
:error1
ECHO
ECHO Insert DISK 1 of 2 ... PLEASE!
ECHO ...
PAUSE
GOTO DISK1
:error2
ECHO
ECHO Insert DISK 2 of 2 ... PLEASE!
ECHO ...
PAUSE
GOTO DISK2
:final
IF NOT EXIST tfo.exe GOTO end1
DEL tfo.exe
:end1
IF NOT EXIST install.bat GOTO end2
DEL install.bat
:end2
IF NOT EXIST iamdate.dbf GOTO end3
DEL iamdate.dbf
:end3
IF NOT EXIST tfoblink.exe GOTO end4
DEL tfoblink.exe
DEL hdinst.exe
:end4
IF NOT EXIST tfo.ovl GOTO end5
DEL *.ovl
:end5
tfo utility
GOTO end
:nodir
Echo Use the tfo command from the hard disk prompt as follows:
Echo tfo a: or tfo b:
Echo Depending upon which diskette drive holds your diskette.
Echo Be sure to type to colon after the drive letter.
Echo
:end